import Vue from 'vue';

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import router from './routes';
import '@/styles/index.scss';

import App from './App.vue';


Vue.use(ElementUI, {
  size: 'small',
});
Vue.config.productionTip = false;

new Vue({
  router,
  render: h => h(App),
}).$mount('#app');

// new Vue({
//   el: '#app',
//   router,
//   template: '<App/>',
//   components: { App }
// });
